@extends('home.pblic.publichead')
@section('content')
	<div id="wrapper">     
<div id="content">
    <div class="grid-16-8 clearfix">  
        <div class="article">
    <div id="note-586670010" class="note-container" data-url="https://www.douban.com/note/586670010/" data-author="{{ $user->username }}" data-is-original="0">
        <div class="note-header note-header-container">
        <h1>{{ $res->title }}</h1>
    <div>
        <a href="https://www.douban.com/people/152396318/"><img class="note_author_avatar" src="{{ $user->pic }}" alt="{{ $user->username }}" width="24" height="24"></a>
        <a href="https://www.douban.com/people/152396318" class="note-author">{{ $user->username }}</a>
        <span class="pl">{{ $res->dtime }}</span>
    </div>  
    </div>
    <div id="note_586670010_full">
        <div class="note" id="link-report">{!! $res->content !!}</div>
        <script type="text/javascript" src="/Scripts/report_dialog.js"></script>
        <link rel="stylesheet" type="text/css" href="/Css/report_dialog.css">
    </div>
    <div id="sep"></div>
    <div id="note_586670010_footer" class="note-ft">
		<div class="note_upper_footer">
                <span class="pl gtleft">
                  <a href="/home/day/hf/{{ $res->id }}">{{ $num }}回应</a>
                </span>
                <span class="gtleft">&gt;&nbsp;
                  <a href="/home/day/update/{{ $res->id }}">修改</a>&nbsp;&nbsp;</span>
                <span class="gtleft" id="delete">&gt;&nbsp;
                  <a href="/home/day/shanchu/{{ $res->id }}">删除</a>&nbsp;&nbsp;</span>
            </div>       
        <div class="sns-bar">

            <div class="footer-sharing">
         <div class="sns-bar-fav ">        
        <a class="fav-cancel btn-fav" title="取消喜欢？" href="#" data-user_id="152396318" >
            <span class="fav-text">已喜欢</span>
                <span class="fav-num" data-tid="586670010" data-tkind="1015">1</span>
        </a>
        <script type="text/template" id="fav-tag-template">
        </script>
                </div>
    <div class="sharing">
        <div class="sharing-button">
            <div class="sharing-douban">
        <script>
            var rec_url = 'https://www.douban.com/share/recommend?'
        </script>
            <script type="text/javascript" src="/Scripts/dshare.js"></script>
        <script>
            Douban.init_on_blacklist = function(node) {
                $(node).click(function(e) {
                    e.preventDefault()
                    alert('你已被对方加入黑名单，不能推荐该日记')
                })
            }
        </script>

        <div class="rec-sec">
    <span class="rec">
        
    </span>
            </div>

            </div>
            <span class="sharing-indicator"></span>
        </div>

    </div>
            </div> 
        </div>
    </div>
    </div>
    <div class="clear"></div>

    <div class="tabs" id="reviews">
      <a href="https://www.douban.com/note/586670010/#sep" class="on">{{ $num }}回应</a>
      <a href="https://www.douban.com/note/586670010/?type=rec#sep">推荐</a>
      <a href="https://www.douban.com/note/586670010/?type=like#sep">喜欢</a>
    </div>
    <div class="">
<div id="comments" class="">
@foreach($hf as $k=>$v)
<div class="comment-item" id="46837686" data-cid="46837686" data-target_id="586670010" data-target_kind="1015">
    
    <div class="pic">
        <a href="https://www.douban.com/people/152396318/"><img class="" src="{{$v->pic}}" alt="{{ $v->username }}" width="48" height="48"></a>
    </div>
    <div class="content report-comment">
        <div class="author">
            <span class="">{{ $v->time }}</span>
            <a href="https://www.douban.com/people/152396318/" class="  ">{{ $v->username }}</a> 
        </div>          
        <p class="">{{ $v->content }}</p>

        <div class="op-lnks">
          <a href="?cid=46837686#add_comment" class="lnk-reply">回应</a>
            <a rel="nofollow" href="/home/day/delete?id={{$v->id}}" class="j a_confirm_link" title="删除小花狗的留言?">删除</a>
        <div class="comment-report" style="visibility: hidden;"><a rel="nofollow" href="javascript:void(0)">举报</a></div>
        </div>

        <div class="group_banned">
            <span class="gact hidden p_u152396318 p_admin p_intern fright">&gt;
                <a rel="nofollow" href="/home/day/delete?id={{$v->id}}" class="j a_confirm_link" title="删除小花狗的发言?">删除</a>
            </span>
        </div>
    </div>
</div>
@endforeach
<!-- 分页 -->

<!-- 分页结束 -->
<div id="last"></div> 
    <h2>
        你的回应
            &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
    </h2>
        <div class="comment-form txd" id="add_comment">

        <form name="comment_form" method="get" action="{{ url('/home/day/insert') }}"><div style="display:none;"><input name="ck" value="i7_x" type="hidden"></div>
          <div class="item">
              <textarea name="content" rows="4" cols="64"></textarea><br>
          </div>
            <input name="uid" value="{{session('id')}}" type="hidden">
            <input name="did" value="{{ $res->id }}" type="hidden">
            <div class="item">
                <span class="bn-flat-hot rr"><input value="加上去" type="submit"></span>
              <span>
              <label class="pl share-label share-shuo">
              <input name="sync_to_mb" type="checkbox">推荐到广播
              </label>
              </span>
            </div>
        </form>
       </div>
</div>
<script type="text/javascript" src="/Script/report_dialog.js"></script>
<link rel="stylesheet" type="text/css" href="/Css/report_dialog.css">
<script>
Do(function(){
  $('#comments').find('.comment-item').hover(function(){$(this).addClass('over');}, function(){$(this).removeClass('over');});
  $('.reply-quote .toggle-reply').click(function(e) {
    e.preventDefault();
    var el = $(this);
    el.prevAll('span').toggle();
    el.find('span').toggle();
  });
});
</script>
    </div>
    <script type="text/json" id="data-tags">
        {"active": ["\u8bfb\u4e66"], "mine": ["\u8bfb\u4e66", "\u7535\u5f71", "\u97f3\u4e50"], "common": ["\u7535\u5f71", "\u97f3\u4e50", "\u8bfb\u4e66", "\u65f6\u5c1a", "\u827a\u672f", "\u4eba\u6587", "\u5efa\u7b51", "\u8bbe\u8ba1", "\u6444\u5f71", "\u81ea\u7136", "\u5386\u53f2", "\u79d1\u5b66", "\u5065\u5eb7", "\u4f53\u80b2", "\u6559\u80b2", "\u65c5\u884c", "\u5c45\u5bb6", "\u7f8e\u98df", "\u5ba0\u7269", "\u5a31\u4e50", "\u8da3\u5473", "\u8d22\u7ecf", "\u52a8\u6f2b", "\u6210\u957f", "\u60c5\u611f", "\u7f8e\u5973", "\u540c\u6027", "\u521b\u610f", "\u79d1\u6280", "\u661f\u5ea7", "\u65f6\u4e8b", "\u8a00\u8bba", "\u6c7d\u8f66", "\u81ea\u6211\u7ba1\u7406"]}
    </script>

    <script type="text/template" id="tag-editor-template">
        
    <form action="" method="POST"><div style="display:none;"><input type="hidden" name="ck" value="i7_x"/></div>
        <div class="tag-editor-bd">
            <div class="douban-tag-editor"></div>
        </div>
        <div class="tag-editor-ft">
            <span class="bn-flat"><input type="submit" value="保存"></span>
        </div>
    </form>

    </script>
    <script>
        var allFeaturesSupported = (function() {
                                      return !!(Array.prototype.forEach
                                          && Array.prototype.map
                                          && Array.prototype.filter)
                                    })()
        if (allFeaturesSupported) {
          Do.add('React', { 'path': 'https://img3.doubanio.com/f/shire/64374063f61bb2b1e19cde1504d4d4825cef8c35/js/lib/react.min.js' })
        } else {
          Do.add('React', {
            'path': 'https://img3.doubanio.com/f/shire/64374063f61bb2b1e19cde1504d4d4825cef8c35/js/lib/react.min.js',
            'requires': ['https://img3.doubanio.com/f/shire/400f95bce457dea9101189cd7f3da8e25100f1a3/js/lib/es5-polyfills.js']
          })
        }
        Do.add('DoubanTagEditor', { 'path': 'https://img3.doubanio.com/f/sns/d58df120c57783547cc325f4dc09ed3ef0dee213/js/sns/DoubanTagEditor.js' })
        Do.add('dui-dialog', {path: 'https://img3.doubanio.com/f/shire/4b3bad5e25de78678d700dd5353570dce3e6bbcc/js/ui/dialog.js', type: 'js', requires: ['https://img3.doubanio.com/f/shire/8377b9498330a2e6f056d863987cc7a37eb4d486/css/ui/dialog.css']});
        Do.add('douban-tag-editor-dialog', {path: 'https://img3.doubanio.com/f/sns/c5f9ffa0d75105e1797400c0fd8cf82876fff72f/js/sns/tag_editor_dialog.new.js', type: 'js'});
    </script>
        </div>
        <div class="aside">
<div class="mod mod-usercard"> 
  <div class="pic">
      <a href="https://www.douban.com/people/152396318/"><img src="{{ $user->pic }}" alt="小花狗" width="48" height="48"></a>
  </div>
  <div class="content">
    <a href="https://www.douban.com/people/152396318/">{{ $user->username }}</a>
        <span class="usercard-loc">({{ $user->shi }})</span>
    <p></p>
    <div class="ft">
    </div>
  </div>
</div>
        <div class="mod">
            
    <h2>
        我的最新日记
            &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
            <span class="pl">&nbsp;(
                
                    <a href="{{ url('/home/day/show') }}" target="_self">全部</a>
                ) </span>
    </h2>

            <ul class="note-list">
                  <li>
                    <a title="{{ $day[0]->title }}" href={{ url('/home/day/hf',['id'=> $day
                    [0]->id ]) }} > {{ $day[0]->title}}</a>
                    
                  </li>
            </ul>
        </div>

    
    
        <div class="mod mod-tags">
            
    <h2>
        这篇日记的标签
            &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
    </h2>

                <a href="https://www.douban.com/note/tags/%E8%AF%BB%E4%B9%A6?people=152396318">读书</a>
        </div>


      
      <p class="harbor-link">
        &gt;&nbsp;<a href="https://www.douban.com/copyright/weixin/" target="_blank">站外侵权投诉通道</a>
      </p>
        <p class="donate-apply-link">
          &gt;&nbsp;<a href="/mine/donate_apply/" target="_blank">开通赞赏</a>
          <img src="https://img3.doubanio.com/f/sns/cf0bf1f1bb282e93892aa3443ab057cf5ff715a5/pics/sns/icon_new@2x.png" width="28px" height="16px">
        </p>


<div class="mod">
    

</div>
        </div>
        <div class="extra">
            

        </div>
    </div>
</div>      

@endsection